﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace PrototypeZGame
{
    public class Zombie : Unit
    {
        public static int zombieCount = 0;


        public Zombie(int X, int Y, World world)
            : base(X, Y, world)
        {
            tileType = TileType.Zombie;
            zombieCount++;
            name = "Zombie_" + zombieCount;

            handsReach = 1.5f;
            AP = 1.0f;
            APRegenRate = 1.0f;
            maxAP = 1.0f;
            APWalk = 1.0f;

            viewDistance = 10.0f;

            HP = 10;
            maxHP = 10;
            _baseAttackStrength = 3;
            _blocking = Result.BlockingZombie;
        }

        public override string getInfoString()
        {
            return base.getInfoString();
        }

        public override void Die()
        {
            base.Die();
            tileType = TileType.ZombieBody;
        }
    }
}
